package com.tan.kotlintest.retrofit

/**
 * Created by Administrator on 2019/3/15 0015.
 */
class Translation {

    private val status: Int = 0

    private val content: Content? = null

    private class Content {
        val from: String? = null
        val to: String? = null
        val vendor: String? = null
        val out: String? = null
        val errNo: Int = 0
    }

    //定义 输出返回数据 的方法
    fun show() {
        println(status)

        println(content!!.from)
        println(content.to)
        println(content.vendor)
        println(content.out)
        println(content.errNo)
    }

}